OUT=server client
all:$(OUT)

server:server.o server_fun.o server_pth_fun.o main.h 
	cc $^ -o $@ -l sqlite3
	@ rm -r *.o
	@ echo
#	ls
client:client.o client_fun.o client_pth_fun.o main.h 
	cc $^ -o $@ -l sqlite3
	@ rm -r *.o
	@ echo
	@ ls

.PHONY:clean

clean:
	@ rm -r *.o $(OUT)
	ls
